.global _gfx_getfont_addr

;------------------------------------------------------------------------------
; Return the address (segment:offset) of the BIOS 8x8 font.
; void gfx_getfont_addr(uint *seg, uint *offset)

_gfx_getfont_addr:
	push bp
	mov bp,sp

	push es
	mov si,[bp+4]
	mov di,[bp+6]
	mov ax,#0x1130
	mov bh,#3
	int #0x10
	mov [si],es
	mov [di],bp
	pop es

	pop bp
	ret
